package com.chinawlx.wlxteacher.network.bean.bean;

import java.util.List;

/**
 * Created by 小狗汪汪汪 on 2017/3/7.
 */

public class CS {

    /**
     * code : 0
     * message : success
     * data : {"grade_list":[{"id":31,"user_id":14,"org_id":2,"school_id":4,"classroom_id":37,"title":"11老师大班","capacity":13,"student_count":0,"opening_date":1487664000000,"class_duration":{"code":90,"name":"90分钟"},"class_type":{"code":"music","name":"器乐"},"class_child_type":{"code":"guitar","name":"电吉他"},"grade_type":{"code":"more","name":"集体课"}},{"id":33,"user_id":14,"org_id":2,"school_id":4,"classroom_id":37,"title":"张老师的吉他1班","capacity":20,"student_count":0,"opening_date":1487664000000,"class_duration":{"code":90,"name":"90分钟"},"class_type":{"code":"music","name":"器乐"},"class_child_type":{"code":"guitar","name":"电吉他"},"grade_type":{"code":"more","name":"集体课"}}]}
     */

    private int code;
    private String message;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 31
         * user_id : 14
         * org_id : 2
         * school_id : 4
         * classroom_id : 37
         * title : 11老师大班
         * capacity : 13
         * student_count : 0
         * opening_date : 1487664000000
         * class_duration : {"code":90,"name":"90分钟"}
         * class_type : {"code":"music","name":"器乐"}
         * class_child_type : {"code":"guitar","name":"电吉他"}
         * grade_type : {"code":"more","name":"集体课"}
         */

        private List<GradeListBean> grade_list;

        public List<GradeListBean> getGrade_list() {
            return grade_list;
        }

        public void setGrade_list(List<GradeListBean> grade_list) {
            this.grade_list = grade_list;
        }

        public static class GradeListBean {
            private int id;
            private int user_id;
            private int org_id;
            private int school_id;
            private int classroom_id;
            private String title;
            private int capacity;
            private int student_count;
            private long opening_date;
            /**
             * code : 90
             * name : 90分钟
             */

            private ClassDurationBean class_duration;
            /**
             * code : music
             * name : 器乐
             */

            private ClassTypeBean class_type;
            /**
             * code : guitar
             * name : 电吉他
             */

            private ClassChildTypeBean class_child_type;
            /**
             * code : more
             * name : 集体课
             */

            private GradeTypeBean grade_type;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getUser_id() {
                return user_id;
            }

            public void setUser_id(int user_id) {
                this.user_id = user_id;
            }

            public int getOrg_id() {
                return org_id;
            }

            public void setOrg_id(int org_id) {
                this.org_id = org_id;
            }

            public int getSchool_id() {
                return school_id;
            }

            public void setSchool_id(int school_id) {
                this.school_id = school_id;
            }

            public int getClassroom_id() {
                return classroom_id;
            }

            public void setClassroom_id(int classroom_id) {
                this.classroom_id = classroom_id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public int getCapacity() {
                return capacity;
            }

            public void setCapacity(int capacity) {
                this.capacity = capacity;
            }

            public int getStudent_count() {
                return student_count;
            }

            public void setStudent_count(int student_count) {
                this.student_count = student_count;
            }

            public long getOpening_date() {
                return opening_date;
            }

            public void setOpening_date(long opening_date) {
                this.opening_date = opening_date;
            }

            public ClassDurationBean getClass_duration() {
                return class_duration;
            }

            public void setClass_duration(ClassDurationBean class_duration) {
                this.class_duration = class_duration;
            }

            public ClassTypeBean getClass_type() {
                return class_type;
            }

            public void setClass_type(ClassTypeBean class_type) {
                this.class_type = class_type;
            }

            public ClassChildTypeBean getClass_child_type() {
                return class_child_type;
            }

            public void setClass_child_type(ClassChildTypeBean class_child_type) {
                this.class_child_type = class_child_type;
            }

            public GradeTypeBean getGrade_type() {
                return grade_type;
            }

            public void setGrade_type(GradeTypeBean grade_type) {
                this.grade_type = grade_type;
            }

            public static class ClassDurationBean {
                private int code;
                private String name;

                public int getCode() {
                    return code;
                }

                public void setCode(int code) {
                    this.code = code;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }
            }

            public static class ClassTypeBean {
                private String code;
                private String name;

                public String getCode() {
                    return code;
                }

                public void setCode(String code) {
                    this.code = code;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }
            }

            public static class ClassChildTypeBean {
                private String code;
                private String name;

                public String getCode() {
                    return code;
                }

                public void setCode(String code) {
                    this.code = code;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }
            }

            public static class GradeTypeBean {
                private String code;
                private String name;

                public String getCode() {
                    return code;
                }

                public void setCode(String code) {
                    this.code = code;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }
            }
        }
    }
}
